/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package chat;

import chat.MsgEvent.DrawBeanEvent;

/**
 *
 * @author spider391Tang
 */
public class BeanManagerForTA {
        static wbPanel wb = null;
        static void setWhiteBroad(wbPanel w){
            wb = w;
        }
	static void createBean(String id, String classname, int x, int y, String args)
        {
            //yoyo-1 chat.mybean.CircleBean 217 136 #ff0000 #00ff00 30
            String cmd = id + " " + classname + " " + x + " " + y + " " + args;
            wb.handleEvent(new DrawBeanEvent(cmd));
        }
}
